/*
========================================================================
 Name        : ExpensesForm.rssi
 Author      : Vishal Dharankar
 Copyright   : Created by Vishal Dharankar 
 Description : 
========================================================================
*/
#include "ExpensesForm.hrh"
#include "ExpensesForm.loc"

RESOURCE AVKON_VIEW r_expenses_form_expenses_form_view
	{
	}
RESOURCE STATUS_PANE_APP_MODEL r_expenses_form_status_pane
	{
	panes =
		{
		SPANE_PANE
			{
			id = EEikStatusPaneUidTitle;
			type = EAknCtTitlePane;
			resource = r_expenses_form_title_resource;
			}
		};
	}
RESOURCE TITLE_PANE r_expenses_form_title_resource
	{
	txt = STR_ExpensesFormView_1;
	}
RESOURCE DIALOG r_expenses_form_expenses_form
	{
	flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | EEikDialogFlagCbaButtons | EEikDialogFlagFillAppClientRect | EEikDialogFlagNotifyEsc | EEikDialogFlagModeless;
	buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK;
	form = r_expenses_form_expenses_form_form;
	}
RESOURCE FORM r_expenses_form_expenses_form_form
	{items =
			{
			DLG_LINE
				{
				type = EEikCtDateEditor;
				prompt = STR_ExpensesFormView_3;
				id = EExpensesFormViewDateEditor;
				control = DATE_EDITOR
					{
					maxDate = DATE
						{
						month = 11;
						day = 30;
						year = 2099;
						};
					minDate = DATE
						{
						year = 2000;
						};
					};
				},
			DLG_LINE
				{
				type = EEikCtFlPtEd;
				prompt = STR_ExpensesFormView_8;
				id = EExpensesFormViewFloatingPointEditorExp;
				control = FLPTED
					{
					maxlength = 32;
					};
				},
			DLG_LINE
				{
				type = EAknCtPopupFieldText;
				prompt = STR_ExpensesFormView_12;
				id = EExpensesFormViewPopupFieldTextCat;
				control = POPUP_FIELD_TEXT
					{
					popupfield = POPUP_FIELD
						{
						width = 8;
						};
					textarray = r_expenses_form_popup_field_text_cat_textarray;
					};
				},
			DLG_LINE
				{
				type = EEikCtEdwin;
				prompt = STR_ExpensesFormView_22;
				id = EExpensesFormViewEditNote;
				control = EDWIN
					{
					maxlength = 255;
					default_case = EAknEditorTextCase;
					allowed_case_modes = EAknEditorAllCaseModes;
					numeric_keymap = EAknEditorStandardNumberModeKeymap;
					default_input_mode = EAknEditorTextInputMode;
					allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode | EAknEditorSecretAlphaInputMode | EAknEditorKatakanaInputMode | EAknEditorFullWidthTextInputMode | EAknEditorFullWidthNumericInputMode | EAknEditorFullWidthKatakanaInputMode | EAknEditorHiraganaKanjiInputMode | EAknEditorHalfWidthTextInputMode;
					};
				}
			};
		flags = EEikFormEditModeOnly;

	}
RESOURCE ARRAY r_expenses_form_popup_field_text_cat_textarray
	{
	items =
		{
		LBUF
			{
			txt = STR_ExpensesFormView_19;
			},
		LBUF
			{
			txt = STR_ExpensesFormView_20;
			}
		};
	}
RESOURCE TBUF r_expenses_form_edit_note
	{
	buf = STR_ExpensesFormView_21;
	}
